package com.chixing.day09_innerclass;

public enum DeliverOrderStatue {
    WAIT_DISPATCHER(0,"待调度"),
    ORDER_TOKEN(20,"已接单"),
    PICKED_UP(20,"已取货"),
    HAS_DELIVERED(50,"已送达"),
    HAS_CANCLEED(90,"已取消");


    private int code;
    private String msg;
    private DeliverOrderStatue(int code,String msg){
        this.code=code;
        this.msg=msg;

    }

    @Override
    public String toString() {
        return "DeliverOrderStatue{" +
                "数量=" + code +
                ", 状态='" + msg + '\'' +
                '}';
    }
}
